.diff-line {
  line-height: 20px;
  font-family: Menlo-Regular, Consolas, Courier, monospace;
  /* &:hover {
      background: #fff3dd;
      .diff-gutter, .diff-code-delete {
        background: #fff3dd;
      }
    } */
}

/* 展开行的样式 */
.diff-line.diff-line-expanded {
  background: #fafbfc;
}
.diff-line.diff-line-expanded.diff-line-expanded-wartimage {
  background-color: rgba(250, 251, 252, 0.5);
}
.diff-line-expanded + .diff-line:not(.diff-line-expanded),
.diff-line:not(.diff-line-expanded) + .diff-line-expanded,
.diff-hunk-header + .diff-line-expanded {
  border-top: 1px solid #eaecef;
}

.diff-gutter > a {
  color: inherit;
  display: block;
}

.diff-gutter:empty,
.diff-gutter > a {
  padding: 0 1ch;
  text-align: right;
  cursor: pointer;
  user-select: none;
}

.diff-gutter:empty:before,
.diff-gutter > a:before {
  content: attr(data-line-number);
}

.diff-gutter {
  color: #9b9b9b;
}

.diff-gutter-normal {
  background-color: #f8f9fa;
}

.diff-gutter-insert {
  background-color: #d6fedb;
}

.diff-gutter-delete {
  background-color: #fadde0;
}

.diff-gutter-omit {
  background-color: #f8f9fa;
  cursor: default !important;
  /* border-right: 0 !important; */
  /* background-color: #fafbfc; */
}

.diff-gutter-selected {
  background-color: #fef6b9;
}

.diff-code {
  white-space: pre-wrap;
  word-wrap: break-word;
  word-break: break-all;
  padding: 0;
  padding-left: 0.5em;
}
.diff-code-image {
  background-color: rgba(230, 248, 232, 0.5) !important;
}
.diff-code-delet-image {
  background-color: rgba(250, 221, 224, 0.5) !important;
}
.diff-code-insert {
  background-color: #eaffee;
}

.diff-code-edit {
  color: inherit;
}

.diff-code-insert .diff-code-edit {
  background-color: #c0dc91;
}

.diff-code-delete {
  background-color: #fdeff0;
}

.diff-code-delete .diff-code-edit {
  background-color: #f39ea2;
}

.diff-code-selected {
  background-color: #fffce0;
}

.diff-code-omit {
  background-color: #fafbfc;
}
.diff-code-omit-image {
  background-color: rgba(250, 251, 252, 0.5) !important;
}

.diff-omit {
  background-color: #fafbfc;
}

.diff-code-gutter-normal-image {
  background-color: #f8f9fa80;
}
